<%@ page language="java" contentType="text/html; charset=GB18030"
	import="java.util.Iterator,java.util.List,edu.iiist.web.beans.Role" 
    pageEncoding="GB18030"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>Insert title here</title>
</head>
<body>
	<%
	//int count=0;
	List<Object[]> ret = (List<Object[]>)request.getAttribute("roles");
	Iterator<Object[]> iter = ret.iterator();
	while(iter.hasNext()){
		Object[] role = iter.next();
		String id = role[0].toString();
		String name = role[1].toString();
		String desc = role[2].toString();
	 %>
		-------------------------------------------------
		<h2><%=id %></h2>
		<h2><%=name %></h2>
		<h2><%=desc %></h2>
		<br>
	<%
	}//end while
	 %>
</body>
</html>